using FSM.Model; 
using System; 
using System.Collections.Generic; 
using System.Text; 
 
namespace FSM.IBll 
{ 
    public interface ILogLoginBll 
    { 
        #region 查询 
        /// <summary> 
        /// 根据键值查询单个信息 
        /// </summary> 
        /// <param name="pkid">键值</param> 
        /// <returns></returns> 
        log_login Get(int? pkid);

        /// <summary> 
        /// 分页查询批量信息 
        /// </summary> 
        /// <param name="start_date">查询启始日期</param> 
        /// <param name="end_date">查询结束日期</param> 
        /// <param name="log_user">登录人員</param> 
        /// <param name="log_type">登录类型
        /// 1：網頁  
        /// 2：移動APP
        /// 3：Api</param> 
        /// <param name="log_terminal">登录设备
        /// 1：电脑
        /// 2：手机
        /// 3：Pad</param> 
        /// <param name="log_ip">登录IP</param> 
        /// <param name="page">页码</param> 
        /// <param name="page_size">每页显示的条数</param> 
        /// <returns></returns> 
        Tuple<List<log_login>, int> ListPagin(DateTime? start_date, DateTime? end_date, string log_user, int? log_type, int? log_terminal, string log_ip, int page, int page_size);
        #endregion

        #region 提交

        /// <summary>
        /// 新增日志信息
        /// </summary>
        /// <param name="model">日志实体</param>
        /// <returns></returns>
        bool Insert(log_login model);

        #endregion
    }
} 
